﻿using EntityFramework.Entity.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YouTravel.DomainModels
{
    /// <summary>
    /// 付款委托信息
    /// </summary>
    public class PaymentEntrust : EntityBase
    {
        public int PaymentId { get; set; }
        /// <summary>
        /// 付款
        /// </summary>
        public virtual Payment Payment { get; set; }
        /// <summary>
        /// 委托收款人名称
        /// </summary>
        public string Payee { get; set; }
        /// <summary>
        /// 委托收款人银行名称
        /// </summary>
        public string CollectionBank { get; set; }
        /// <summary>
        /// 委托收款人银行账号
        /// </summary>
        public string BankNumber { get; set; }
        /// <summary>
        /// 附件集合
        /// </summary>
        public virtual ICollection<Attachment> Attachments { get; set; }
    }
}
